﻿#ifndef SDK_NATIVE_HELPER_H_
#define SDK_NATIVE_HELPER_H_

#import <Foundation/Foundation.h>

@interface NativeHelper : NSObject

/** 我们外呼的时候产生一个新的sessionid*/
+ (NSString *)createSessionId;

/** base64 编解码 */
+ (NSString *)base64:(BOOL)encode content:(NSData *)content;

+ (NSString *)base64WithString:(BOOL)encode content:(NSString *)content;

/** des 编解码 */
+ (NSData *)encode:(BOOL)encode key:(NSString *)key content:(NSData *)content;

@end

#endif  // SDK_NATIVE_HELPER_H_
